package com.qiyuexinxi.chat.dto.response;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.JSONPObject;
import com.qiyuexinxi.chat.dto.vo.UserInfoVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author yangxingyu
 * @date 2020/4/14
 * @description
 */
@Data
@ApiModel("动态响应信息")
public class DynamicResponse {

    @ApiModelProperty(value = "动态ID")
    private Integer dynamicId;

    @ApiModelProperty(value = "用户信息")
    private UserInfoVo userInfoVo;

    @ApiModelProperty(value = "动态类型 1仅文字 2文字+图片 3文字+视频")
    private Integer dynamicType;

    @ApiModelProperty(value = "文字内容")
    private String content;

    @ApiModelProperty(value = "图片json")
    private List<Map<String,Object>> pictureUrls;

    @ApiModelProperty(value = "视频json")
    private JSONArray vlogAssociationId;

    @ApiModelProperty(value = "发布地址")
    private String address;

    @ApiModelProperty(value = "发布时间")
    private String releaseTime;

    @ApiModelProperty(value = "点赞数量")
    private JSONObject thumbInfo;

    @ApiModelProperty(value = "评论信息")
    private JSONObject commentInfo;

    @ApiModelProperty(value = "礼物数量")
    private String giftCount;

}
